import Ajax from "./ajax"
import axios from 'axios'
export const Login = (username,usercode) =>Ajax('/login',{username,usercode},'POST')
export const GetWord = (index) => Ajax('/jiaokaoquestions',{index})
/* export const GetWord = (index)=>{
	return axios({
		url:'http://6b1zfhb.nat.ipyingshe.com/jiaokaoquestions?index='+index
	})
 */